package com.stone.business.plan.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.SequenceGenerator;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 工作计划
 * 
 */
@Entity
@Table(name = "TAB_PLAN")
public class TPlan implements java.io.Serializable {

	private Long id = Long.parseLong("0");
	private String  stationid;    //变电站ID
	private String  stationname;  //变电站名称
	private String  teamnames;    //选择班组名称
	private String  plantype;     //计划类型  1月度计划, 2生产计划，3管理计划,
	private String  responsible;  //总负责人，或者  责任人 
	private String  voltagelevel; //电压等级
	private String  powerrange;   //停电范围
	private Date  startdate;      //开始日期
	private Date  enddate;        //结束日期（或  管理计划的完成日期）
	private Date  dateofaudit;    //审核日期
	private String workcontent;   //工作项目
	private String status;        //状态       0 未提交，1已提交，2已落实，3审核作废， 4已派单，5 已删除;
	private String remarks;       //备注;
	private String sblx;
	private String cxch	;		//车型车号
	private String fzr;			//负责人ID
	private String wyg;			//外用工
	private String ysr;			//验收人
	private String ysrname;		//验收人名称
	private String dwry;		//到位人员
	private String dwryname;	//到位人员名称
	private String sgfa;		//施工方案
	private String category;    //工作票种类
	private String gcjs;    //工程建设
	/**
	 * 创建人
	 */
	private String cjr;
	private Long cjrid;
	/**
	 * 创建时间
	 */
	private Date cjsj;
	/**
	 * 配合班组
	 */
	private String phbz;
	private String phbzname;
	private Date  phgzdate;      //配合工作日期
	private String ouid;          //ouid
	
	// 隔日查询条件
	private Date gr;
	
	// 第一日查询条件
	private Date dyr;	
	
	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_PLAN")
	@SequenceGenerator(name="SEQ_PLAN",allocationSize=1, sequenceName="SEQ_PLAN")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getStationid() {
		return stationid;
	}
	public void setStationid(String stationid) {
		this.stationid = stationid;
	}
	public String getStationname() {
		return stationname;
	}
	public void setStationname(String stationname) {
		this.stationname = stationname;
	}
	public String getTeamnames() {
		return teamnames;
	}
	public void setTeamnames(String teamnames) {
		this.teamnames = teamnames;
	}
	public String getPlantype() {
		return plantype;
	}
	public void setPlantype(String plantype) {
		this.plantype = plantype;
	}
	public String getResponsible() {
		return responsible;
	}
	public void setResponsible(String responsible) {
		this.responsible = responsible;
	}
	public String getVoltagelevel() {
		return voltagelevel;
	}
	public void setVoltagelevel(String voltagelevel) {
		this.voltagelevel = voltagelevel;
	}
	public String getPowerrange() {
		return powerrange;
	}
	public void setPowerrange(String powerrange) {
		this.powerrange = powerrange;
	}
	public Date getStartdate() {
		return startdate;
	}
	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}
	public Date getEnddate() {
		return enddate;
	}
	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}
	public Date getDateofaudit() {
		return dateofaudit;
	}
	public void setDateofaudit(Date dateofaudit) {
		this.dateofaudit = dateofaudit;
	}
	public String getWorkcontent() {
		return workcontent;
	}
	public void setWorkcontent(String workcontent) {
		this.workcontent = workcontent;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getOuid() {
		return ouid;
	}
	public void setOuid(String ouid) {
		this.ouid = ouid;
	}
	public String getSblx() {
		return sblx;
	}
	public void setSblx(String sblx) {
		this.sblx = sblx;
	} 
	public String getCxch() {
		return cxch;
	}
	
	public void setCxch(String cxch) {
		this.cxch = cxch;
	}
	public String getFzr() {
		return fzr;
	}
	public void setFzr(String fzr) {
		this.fzr = fzr;
	}
	public String getWyg() {
		return wyg;
	}
	public void setWyg(String wyg) {
		this.wyg = wyg;
	}
	public String getYsr() {
		return ysr;
	}
	public void setYsr(String ysr) {
		this.ysr = ysr;
	}
	public String getYsrname() {
		return ysrname;
	}
	public void setYsrname(String ysrname) {
		this.ysrname = ysrname;
	}
	public String getDwry() {
		return dwry;
	}
	public void setDwry(String dwry) {
		this.dwry = dwry;
	}
	public String getDwryname() {
		return dwryname;
	}
	public void setDwryname(String dwryname) {
		this.dwryname = dwryname;
	}
	public String getSgfa() {
		return sgfa;
	}
	public void setSgfa(String sgfa) {
		this.sgfa = sgfa;
	}
	public Date getGr() {
		return gr;
	}
	public void setGr(Date gr) {
		this.gr = gr;
	}
	public Date getDyr() {
		return dyr;
	}
	public void setDyr(Date dyr) {
		this.dyr = dyr;
	}
	public String getPhbz() {
		return phbz;
	}
	public void setPhbz(String phbz) {
		this.phbz = phbz;
	}
	public String getPhbzname() {
		return phbzname;
	}
	public void setPhbzname(String phbzname) {
		this.phbzname = phbzname;
	}
	public Date getPhgzdate() {
		return phgzdate;
	}
	public void setPhgzdate(Date phgzdate) {
		this.phgzdate = phgzdate;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getCjr() {
		return cjr;
	}
	public void setCjr(String cjr) {
		this.cjr = cjr;
	}
	public Date getCjsj() {
		return cjsj;
	}
	public void setCjsj(Date cjsj) {
		this.cjsj = cjsj;
	}
	public Long getCjrid() {
		return cjrid;
	}
	public void setCjrid(Long cjrid) {
		this.cjrid = cjrid;
	}
	public String getGcjs() {
		return gcjs;
	}
	public void setGcjs(String gcjs) {
		this.gcjs = gcjs;
	}
	
	
}